<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GameRecord extends Model {
    //use SoftDeletes;
    //protected $dates = ['deleted_at'];
    protected $casts = [
        'id' => 'integer'
    ];

    protected $table = 'game_record';

    protected $fillable = ['game_id','name','data','status','user_id',];

	protected $hidden = [];


        public function game()
    {
    return $this->belongsTo('App\Game');
    }
    }
